package base.tree;

import java.util.List;

/**
 * 菜单树，有复选框
 * @author zoe
 *
 */
public class MenuTreeNodeChecked {
	
	private String id;
	
	private String text;
	
	private String menuCode;
	
	private String menuUrl;
	
	private String menuClass;
	
	private boolean leaf = true;
	
	private String parentId;
	
	private boolean checked = false;
	
	private List<MenuTreeNodeChecked> children;
	
	public boolean isChecked() {
		return checked;
	}

	public void setChecked(boolean checked) {
		this.checked = checked;
	}

	private int isUse;
	
	public int getIsUse() {
		return isUse;
	}

	public void setIsUse(int isUse) {
		this.isUse = isUse;
	}

	public String getMenuCode() {
		return menuCode;
	}

	public void setMenuCode(String menuCode) {
		this.menuCode = menuCode;
	}

	public String getParentId() {
		return parentId;
	}

	public void setParentId(String parentId) {
		this.parentId = parentId;
	}

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}

	public boolean isLeaf() {
		return leaf;
	}

	public void setLeaf(boolean leaf) {
		this.leaf = leaf;
	}

	public List<MenuTreeNodeChecked> getChildren() {
		return children;
	}

	public void setChildren(List<MenuTreeNodeChecked> children) {
		this.children = children;
	}

	public String getMenuUrl() {
		return menuUrl;
	}

	public void setMenuUrl(String menuUrl) {
		this.menuUrl = menuUrl;
	}

	public String getMenuClass() {
		return menuClass;
	}

	public void setMenuClass(String menuClass) {
		this.menuClass = menuClass;
	}
	
}